﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace Yatagan.Configuration.Elements
{
    public class Component
    {
        public string ServiceType { get; set; }

        public string TypeType { get; set; }

        public string Creation { get; set; }

        public Component(XmlNode componentNode)
        {
            ServiceType = componentNode.Attributes["Service"].Value;
            TypeType = componentNode.Attributes["Type"].Value;
            Creation = componentNode.Attributes["Creation"].Value;
        }
    }
}
